package com.cqb.cn.service.serviceimpl;

import com.cqb.cn.modle.po.Course;
import com.cqb.cn.service.DemoService;
import com.cqb.cn.mapper.DemoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Desccription: 业务实现层--用于测试框架基础功能
 * create by cqb on 2020/7/4 21:16
 */
@Service
public class DemoServiceimpl implements DemoService {
    @Resource
    private DemoMapper demoMapper;

    @Override
    public List<Course> getCourseList() {
        return demoMapper.getCourseList();
    }
}
